package com.pubinfo.passbook.common.service.master.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pubinfo.passbook.common.entity.TMdmBankAccount;
import com.pubinfo.passbook.common.mapper.TMdmBankAccountMapper;
import com.pubinfo.passbook.common.model.dto.MDM.MdmBankAccountParam;
import com.pubinfo.passbook.common.model.dto.MDM.MdmParam;
import com.pubinfo.passbook.common.service.master.ITMdmBankAccountService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author jobob
 * @since 2021-10-16
 */
@Service
public class TMdmBankAccountServiceImpl extends ServiceImpl<TMdmBankAccountMapper, TMdmBankAccount> implements ITMdmBankAccountService {
  
  @Override
  public IPage<TMdmBankAccount> listMdmBankAccount(MdmBankAccountParam param) {
    IPage<TMdmBankAccount> iPage = page(param.getPage("create_time"));
    return this.baseMapper.listMdmBankAccount(iPage, param);
  }
}
